import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'plus9'
})
export class Plus9Pipe implements PipeTransform {

  transform(value: any, args?: any): any {
    return +value > 9 ? '9+' : value;
  }

}
